You are not logged in.
Pages: 1
Hello again!
There is an old bug in Debian, if you can help me, I hope that bug is not in Devuan as well.
I tried to automount NTFS partition with Disks, and I failed.
I tried with every option - dev/sda, UI .... etc.
Is there any chance to automount partitions ?
Thank you very much and have a nice day, wonderful community of Devuan.
Offline
Let's define the problem: you want an access to contents of partitions or you want ability to mount/unmount partitions for user without root privileges?
Last edited by ToxicExMachina (2019-03-15 12:57:03)
Offline
I want to automount partitions with boot. I can mount them as I like, but I'd like to have some of them automount.
Offline
What hinders you to use fstab? I mount ntfs partitions with boot with entries like:
# Windows
UUID=xxxxxx /mnt/Windows ntfs-3g rw,uid=1000,gid=1000,auto,users
Works like a charm for many years already.
Rolf
Offline
I wonder whether you mean using autofs. This way you can define the things you want mounted, but they are only actually mounted when you look at them.
Install autofs and then configure the auto.* files in /etc.
If I have a file server on my lan called sodium offering music then my auto.master might contain :-
/LAN /etc/auto.lan --ghost
the ghost flag is so that you can see the mount point all the time.
/etc/auto.lan might contain :-
music -fstype=nfs,nolock sodium:/volume1/music
# music -fstype=cifs,user,uid=user1,gid=users,rw,suid,credentials=/etc/cifsmypwd ://sodium/music
I used to mount it via cifs but now I use nfs, so have commented out the cifs info.
My machine now only mounts /LAN/music if I go looking for it and unmounts it after a period of not using it.
Geoff
Offline
I have one NTFS partition mounted with autofs:
cat /etc/auto.master.d/misc_maps.autofs
/misc /etc/auto.misc --timeout=60,--ghost
cat /etc/auto.misc
........
winlinux -fstype=ntfs,rw,nosuid,nodev,relatime,default_permissions,allow_other :/dev/sdc1
ls /misc/winlinux
Last edited by thierrybo (2019-03-23 16:08:37)
Offline
Pages: 1