2011/9/8 Camaleón <noela...@gmail.com>: > On Thu, 08 Sep 2011 21:43:33 +0800, yuanwei xu wrote: > >> Hello, below is one section of my fstab, I want my usb >> harddisk(/dev/sdbx) can be mounted by the non-root,according the man >> page of fstab,I set the "user" option,but still get error " mount: only >> root can do that" when i try to mount it. >> >> >> # /etc/fstab: static file system information. >> # >> # <file system> <mount point> <type> <options> <dump> <pass> >> # /dev/sdb4 none ext4 sw 0 0 >> UUID=e2f1534d-aecd-4f2a-a153-822ac4d73967 /media/usbdisk4_data ext4 >> user,exec,dev,suid,rw,noauto 0 0 > > By using "noauto" the volume has to be manually mounted, is that right? > >> i tried the command: $mount /dev/sdb4 /media/usbdisk4_data and $mount >> /dev/disk/by-uuid/e2f1534d-aecd-4f2a-a153-822ac4d73967 >> /media/usbdisk4_data, but both were failed. > > (...) > > It should be just: > > mount -U "e2f1534d-aecd-4f2a-a153-822ac4d73967" > > What error are you getting?
Thanks, it is the right way, there is no error output. I have to admit that I was not careful enough when reading the man page. > > Also, remember that the mount point should have the proper permissions: > > ls -l /media > > And now that I think, not sure if "/media" is a good place to put a > "statically" mounted volume, I would better create a dedicated mount > point outside that folder for such purpose. Thanks for your advice. > > Greetings, > > -- > Camaleón > > > -- > To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org > with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org > Archive: http://lists.debian.org/pan.2011.09.08.14.53...@gmail.com > > -- To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: http://lists.debian.org/CAH3inR1K6STtoKdW3bEQS1M9wTrMEXMh_YtaMuRjqD=_gvr...@mail.gmail.com