1.25.2010

persistent mounting on linux

stolen from a well written forum post:

You'll want to edit your /etc/fstab file. I don't know of any GUI alternative.

Perform your mount command, then view the contents of /etc/mtab (through the text editor of your choice, or cat). There'll be a line there that reflects how fstab and mtab expresses your mount. Copy that line and paste it in /etc/fstab.

To see if it worked, unmount your resource (share, disk, whatever), then do 'mount -a' with root privileges. It should read fstab and remount it, and if it doesn't, output a neat error message hopefully explaining why.

0 Comments:

Post a Comment

Links to this post:

Create a Link

<< Home