-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On Thu, Jul 13, 2017 at 01:34:39PM +0200, Kaj Persson wrote:

[...]

[added cc debian-user]

> Can you have this defined from /etc/fstab too? I have had no success
> in that.

This line in the fstab works for me (note: no systemd here; systemd
is known to do things with mounting, so results may vary):

  # <file system> <mount point>   <type>  <options>                           
<dump>  <pass>
  /dev/sdb1       /media/usb0     auto    rw,user,noauto,uid=tomas,gid=tomas  0 
      0

Season to taste :-)

Fixed entries in fstab are of limited use for removable media, though:
you never know which device your stick appears as (you might use label
or UUID, depending on your use case).

Cheers
- -- tomás
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)

iEYEARECAAYFAllncZ8ACgkQBcgs9XrR2kb5MQCfRgJDrdom249bF3L+0R7bLTtM
miwAnjWQ6TXWUN3NO/5Ckbi7sKcpSgKv
=+B/y
-----END PGP SIGNATURE-----

Reply via email to