Oh no! More boring computer problems! Oh no!

Message Bookmarked
Bookmark Removed
Not all messages are displayed: show all messages (1739 of them)
Alternatively, another way to pass environment variables is to do this:

ssh -X user@host "VARIABLE_THERE=\"$VARIABLE_HERE\" bash -il"

Forest Pines (ForestPines), Wednesday, 5 April 2006 11:24 (twenty years ago)

i dont understand computers:(

i have a mac. i also have a linksys nslu2, and a lacie external drive. the linksys has formatted the lacie to ext3, and i mount the drive remotely and it appears as a locally connected drive. so, for, all good.

the thing is, i want to be able to do this in the terminal window. but it wont do it. something about an 'unknown or special file system'. what should i do, in the terminal to be able to mount this? (yes, i know i could just do it in finder, but i want to know why this wont work).

is it something to do with hfs and ext3? i dont know much about this, and ive tried to work it out, but i dont really get it

terry lennox. (gareth), Wednesday, 5 April 2006 17:25 (twenty years ago)

If you're mounting it as a remote drive, connected through the Linksys box, the fact that it's formatted as ext3 shouldn't make any difference. That only matters if you've connected it directly to your mac.

Try running the mount command from the terminal, without any options at all, when the drive is mounted in the Finder. That should just list all mounted drives, and their filesystem types, which should be a clue as to what options you need to pass to the mount command to mount it manually.

Forest Pines (ForestPines), Wednesday, 5 April 2006 18:26 (twenty years ago)

tangent: let's say i got a new (windows) computer and am installing a bunch of stuff. several of these programs require reboots. do i have to reboot each time or can i wait and reboot once after installing everything?

mookieproof (mookieproof), Wednesday, 5 April 2006 18:29 (twenty years ago)

ssh -X is so cute... like we actually want to run X11 apps? :D

Ichigo (ex machina), Wednesday, 5 April 2006 18:35 (twenty years ago)

You seem to be forgetting that not every computer in the world is the one on your desk.

Forest Pines (ForestPines), Wednesday, 5 April 2006 18:44 (twenty years ago)

You seem to be forgetting that X11 is awful.

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 18:46 (twenty years ago)

mount command gives me

//WORKGROUP;music@LACIE/MUSIC on /Volumes/WORKGROUP;LACIE (nodev, nosuid, mounted by charltonlido)

charltonlido (gareth), Wednesday, 5 April 2006 18:47 (twenty years ago)

And my alternative choice is...?

(xpost)

Forest Pines (ForestPines), Wednesday, 5 April 2006 18:51 (twenty years ago)

I have not had much luck with cmdline disk stuff in OSX -- see man(8) diskutil

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 18:52 (twenty years ago)

xpost

why do you need remote gui appz

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 18:53 (twenty years ago)

I'm not very familiar with that on OS X either. However, if you read the documentation for the mount command ("man mount"), you should hopefully be able to use the information it's given you to assemble a usable mount command line.

However, the bit I'd be expecting that I can't see there is the most important bit: the filesystem type. On the other hand, the UNC-style hostname format makes me think it might be connecting using SMB (the Windows filesharing protocol).

Forest Pines (ForestPines), Wednesday, 5 April 2006 18:55 (twenty years ago)

tangent: let's say i got a new (windows) computer and am installing a bunch of stuff. several of these programs require reboots. do i have to reboot each time or can i wait and reboot once after installing everything?

Unless there is some dependency between the programs (like one has to be installed before you can install the other) then I think it's fine to wait and reboot after installing everything.

o. nate (onate), Wednesday, 5 April 2006 18:58 (twenty years ago)

John, mainframe/terminal is coming back as the thin client. We are testing thin clients with a view to replacing windows boxen. X11 serves it's purpose.

Ed (dali), Wednesday, 5 April 2006 18:59 (twenty years ago)

John, mainframe/terminal is coming back as the thin client. We are testing thin clients with a view to replacing windows boxen. X11 serves it's purpose.

1) "Jon"
2) Are you a CS department in 1989?

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 19:00 (twenty years ago)

why do you need remote gui appz

So your point isn't that X11 apps are rubbish - it's that we shouldn't be using GUI apps remotely at all? Why not? You may as well say: why use a GUI at all? You might not have noticed, but running remote GUI apps is one of the fundamental points of X's design.

Unless there is some dependency between the programs (like one has to be installed before you can install the other) then I think it's fine to wait and reboot after installing everything.

Yes, I often do this; it's nearly always fine.

(one thing I hate: installer programs that force a reboot and make it very hard to stop it happening. Logitech, particularly, have a habit of doing this)

Forest Pines (ForestPines), Wednesday, 5 April 2006 19:07 (twenty years ago)

WHY DO YOU NEED *REMOTE* GUI APPS?

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 19:11 (twenty years ago)

i seem to be asking for help at the wrong time:/ is this mounting thing being a problem, a darwin thing? i should be able to mount a drive more easily than this shouldn't i?

charltonlido (gareth), Wednesday, 5 April 2006 19:12 (twenty years ago)

It can't be a Darwin problem if the Finder has mounted the drive in such a way that it shows up from the command line.

Forest Pines (ForestPines), Wednesday, 5 April 2006 19:19 (twenty years ago)

is it a small brain problem? :(

charltonlido (gareth), Wednesday, 5 April 2006 19:20 (twenty years ago)

Nah, it's just that the mount command must need some obscure option setting. Most likely, you need to tell it what protocol to use to talk to the LaCie box.

Forest Pines (ForestPines), Wednesday, 5 April 2006 19:22 (twenty years ago)

WHY DO YOU NEED *REMOTE* GUI APPS?

Again, why do you need ANY GUI apps?

Forest Pines (ForestPines), Wednesday, 5 April 2006 19:26 (twenty years ago)

porn

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 19:27 (twenty years ago)

so, ok, if i abandon this idea, how do i automount?

charltonlido (gareth), Wednesday, 5 April 2006 19:27 (twenty years ago)

oh for fucks sake, it wont let me switch to root, because it doesnt like my password.

maybe i should take up some kind of outdoor pursuit instead, like tennis

charltonlido (gareth), Wednesday, 5 April 2006 19:31 (twenty years ago)

so, ok, if i abandon this idea, how do i automount?

Sorry, I can't help you on that one.

porn

Good point.

A friend of mine kept a roll of "ASCII"-art porn in his desk drawer for thirty years. It was a telex print test file that a telex engineer had given him just after he'd started, when he was a teenager.

(it wasn't actually ASCII art, because Telexes - ones on the British telex system, anyway - weren't ASCII; they used 5-bit Baudot code)

Forest Pines (ForestPines), Wednesday, 5 April 2006 19:38 (twenty years ago)

wow :D

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 19:41 (twenty years ago)

Gareth, ask the question at macosxhints.com you will get an authoratitive answer.

Running gui apps remotely (through x11, citrix or whatever) has the potential to reduce our software licencing costs significantly. We only need 1 licence of loads of infrequently used but important apps to support all the users who need to use them. Plus we can concentrate all of the computing power in one place, office desktops are over specced for the use they are put to. We reckon we can service our productivity needs with two dual xeon servers, we need more power we upgrade or add to the servers, not to the desks.

Ed (dali), Wednesday, 5 April 2006 19:41 (twenty years ago)

Interesting.... I would think that Citrix or rdesktop or vnc would be better than X11 for that.

Fight the Real Enemy -- Tasti D-Lite (ex machina), Wednesday, 5 April 2006 19:44 (twenty years ago)

They're still mechanisms for running graphical apps remotely, which you said was completely unnecessary.

There are an awful lot of graphical programs - mostly Windows ones - that I have to control remotely; to avoid going through to the server room, or to avoid a 50-mile drive. I wish there was a more flexible way to control remote applications on Windows, rather than using one of those entire-desktop mechanisms.

Forest Pines (ForestPines), Wednesday, 5 April 2006 19:48 (twenty years ago)

yes it appears to be smb/cifs, whatever that is

i'll ask it on that machints site tomorrow, i had thought this mounting business would be easy, i have to admit.

charltonlido (gareth), Wednesday, 5 April 2006 21:03 (twenty years ago)

its strange though, i had forgotten how computers can make a feeling of anger, at own inability, to do a simple thing

charltonlido (gareth), Wednesday, 5 April 2006 21:04 (twenty years ago)

i think i would like to throw the computer on the floor

perhaps, it would be better if i went to bed

charltonlido (gareth), Wednesday, 5 April 2006 21:05 (twenty years ago)

I have no need for forwarding X11 GUI apps, I just need a console, but the stupid job despatch system insists on giving you back an xterm, hence the need to forward :(

(many xposts)

steal compass, drive north, disappear (tissp), Wednesday, 5 April 2006 21:07 (twenty years ago)

it appears to be smb/cifs, whatever that is

It's the Windows filesharing protocol.

Forest Pines (ForestPines), Thursday, 6 April 2006 04:55 (twenty years ago)

They're still mechanisms for running graphical apps remotely, which you said was completely unnecessary.

EXCEPT IF YOU USE STUPID APPS

X11 is a bitch

Fight the Real Enemy -- Tasti D-Lite (ex machina), Thursday, 6 April 2006 05:10 (twenty years ago)

Yes, well. ALL software is shit in one way or another.

Forest Pines (ForestPines), Thursday, 6 April 2006 05:29 (twenty years ago)

except perl

Fight the Real Enemy -- Tasti D-Lite (ex machina), Thursday, 6 April 2006 05:43 (twenty years ago)

Oh no, perl is shit in lots of ways too. But it has enough good points to make up for it.

Forest Pines (ForestPines), Thursday, 6 April 2006 06:08 (twenty years ago)

they just told me to use diskutil:/

thing is, if i mount my mp3 player, like this

diskutil mount /dev/disk1s1 /Volumes/JUKEBOX

it works fine, but the same syntax for the lacie, doesnt

diskutil mount //WORKGROUP;music@LACIE/MUSIC /Volumes/WORKGROUP;LACIE

charltonlido (gareth), Thursday, 6 April 2006 06:22 (twenty years ago)

or

diskutil mount //WORKGROUP;music@LACIE/MUSIC /Volumes/MUSIC

its all this workgroup business, that seems to be confusing things, well, confusing me

charltonlido (gareth), Thursday, 6 April 2006 06:26 (twenty years ago)

See, I'd expect you to have to pass the workgroup/username information as a separate option.

I take it that the hostname is "LACIE", the workgroup/domain is "WORKGROUP" and the username is "music". In that case, if we were talking the Linux version of mount, the command would be:

mount -t smbfs -o "username=WORKGROUP/music" //LACIE/MUSIC /Volumes/MUSIC

Forest Pines (ForestPines), Thursday, 6 April 2006 06:30 (twenty years ago)

well, nearly!

i try this

$ mount -t smbfs //LACIE/MUSIC /Volumes/MUSIC

it asks me for a password, which i give, then it gives me

mount_smbfs: mount error: /Volumes/MUSIC: syserr = Resource busy

charltonlido (gareth), Thursday, 6 April 2006 06:46 (twenty years ago)

also, it asks me for a password, but not a username, and there are multiple usernames for this drive

charltonlido (gareth), Thursday, 6 April 2006 06:57 (twenty years ago)

Ah.

Try putting -o "username=[...]" after the -t smbfs option.

Forest Pines (ForestPines), Thursday, 6 April 2006 06:58 (twenty years ago)

no, i tried that, doesnt like it

charltonlido (gareth), Thursday, 6 April 2006 07:03 (twenty years ago)

option not supported

charltonlido (gareth), Thursday, 6 April 2006 07:03 (twenty years ago)

Bah.

Does 'man mount' have a section for smb/cifs-specific options? Is there a separate 'smbmount' command with its own manual page?

Forest Pines (ForestPines), Thursday, 6 April 2006 07:09 (twenty years ago)

it...works!

i have to make the directory first, it seems. is this really right?

so, it goes

mkdir /Volumes/MUSIC

mount -t smbfs //LACIE/MUSIC /Volumes/MUSIC

and it mounts:)

charltonlido (gareth), Thursday, 6 April 2006 09:42 (twenty years ago)

i have to make the directory first, it seems. is this really right?

Yes. You only have to do it once, of course.

If you put files in the directory when the remote disk isn't mounted, they will be inaccessible when it is.

Forest Pines (ForestPines), Thursday, 6 April 2006 09:51 (twenty years ago)


You must be logged in to post. Please either login here, or if you are not registered, you may register here.