Re: How to add a mount point in fstab?
On 7/4/08, Ron Johnson <ron.l.johnson@cox.net> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
>
> On 07/04/08 00:47, hce wrote:
> > Hi,
> >
> > I have a partition in /dev/sda6 which is manually mounted to my user
> > directory ~/work every time when I start the x window. Is following
> > command correct to add /dev/sda6 in to the fstab?
> >
> > /dev/sda6 /hom/mycount/work ext3 0 0
>
>
> You're missing the "options" field. Try this, where $YOU is your
> username:
>
> /dev/sda6 /hom/mycount/work ext3 defaults,noauto,user=$YOU 0 0
>
> Changing topic: what ensures that the kernel will always see that
> device as sda, instead of sdb?
The sda6 is actually a harddisk partition (not for usb stick). kernel
should have no problem to see it.
Thanks Ron.
Jim
> - --
> Ron Johnson, Jr.
> Jefferson LA USA
>
> "Kittens give Morbo gas. In lighter news, the city of New New
> York is doomed."
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.9 (GNU/Linux)
>
> iEYEARECAAYFAkhtu2wACgkQS9HxQb37Xmc+vQCgiguUgx/oA/ugcVxeb+xm/3Xv
> q08AoJNvrmsMFcNnEPxYea2wMHL47PC1
> =5Ekj
> -----END PGP SIGNATURE-----
>
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
>
>
Reply to: