On 06/08/14 04:15 PM, Harry Putnam wrote:
Trying to do a simple edit to fstab but keep failing.

I want to mount a device in such a way that it ends up with uid and
gid of my choice.  But when I attempt to add those options  (or any
others it seems) the mount fails with this error:

  # mount /home/harry/.junk
mount: wrong fs type, bad option, bad superblock on /dev/sdd1,
        missing codepage or helper program, or other error
        In some cases useful info is found in syslog - try
        dmesg | tail  or so

I see nothing helpful in /var/log/messages.

Both man mount and googling for examples... seem to show the same
sort of thing I am trying.

The fstab line:

   /dev/sdd1   /home/harry/misc   ext4   user,uid=1000,gid=1050   0    0

I've tried several different rendition but far as I can tell the line
above should work.

I'm probably making some terribly obvious error but failing to see
what it is.


The error message is telling you that the system can't identify the file system on /dev/sdd1. This may have nothing to do with the uid.

Try mounting it as root with something like:
  mount -t ext4 /dev/sdd1 /home/harry/misc

If that works then add parameters like -o uid=1000. If it doesn't work then you may have the wrong /dev or there may be another problem.

Get it working from the command line first.



--
To UNSUBSCRIBE, email to debian-user-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org
Archive: https://lists.debian.org/53e28eb7.3040...@torfree.net

Reply via email to