Re: Automounting an eSata drive

2016-01-11 Thread Sven Arvidsson
On Mon, 2016-01-11 at 10:01 -0300, Renaud OLGIATI wrote: > Thanks, but I am not completely clear:  > Does this mean replace UDISKS_SYSTEM with UDISKS_SYSTEM_INTERNAL > in  the /etc/udev/rules.d/10-esata.rules ? > > I tried that, but it still does not work   ;-3( I thought it would, but it's possi

Re: Automounting an eSata drive

2016-01-11 Thread Ron
On Mon, 11 Jan 2016 13:35:40 +0100 Sven Arvidsson wrote: > > Another way is marking the SATA port as external: > > https://wiki.archlinux.org/index.php/udev#Mark_internal_SATA_ports_as > > _eSATA > Looks like this was changed between versions and is > UDISKS_SYSTEM_INTERNAL in the version in wh

Re: Automounting an eSata drive

2016-01-11 Thread Sven Arvidsson
On Mon, 2016-01-11 at 11:31 +0100, Sven Arvidsson wrote: > Another way is marking the SATA port as external: > https://wiki.archlinux.org/index.php/udev#Mark_internal_SATA_ports_as > _eSATA Looks like this was changed between versions and is UDISKS_SYSTEM_INTERNAL in the version in wheezy. -- Ch

Re: Automounting an eSata drive

2016-01-11 Thread Dominique Dumont
On Monday 11 January 2016 08:17:12 you wrote: > > You can also add a x-systemd.automount option in /etc/fstab > > See systemd.mount(5) for details > > Thanks; forgot to mention: Wheezy, no systemd. On wheezy, you can try with udisk-glue. HTH -- https://github.com/dod38fr/ -o- http://search.c

Re: Automounting an eSata drive

2016-01-11 Thread Sven Arvidsson
On Mon, 2016-01-11 at 08:15 -0300, Renaud OLGIATI wrote: > Thanks; forgot to mention: No systemd, Wheezy. Wheezy would have udev and udisks so I think something similar should be possible. And I think the user flag isn't necessarily a systemd thing. (Sorry for the vague answers, no wheezy system

Re: Automounting an eSata drive

2016-01-11 Thread Ron
On Mon, 11 Jan 2016 11:31:24 +0100 Sven Arvidsson wrote: > Another way is marking the SATA port as external: > https://wiki.archlinux.org/index.php/udev#Mark_internal_SATA_ports_as_eSATA Tried this already, it does not work. Would it be systemd dependent ? Cheers, Ron. -- If any

Re: Automounting an eSata drive

2016-01-11 Thread Ron
On Mon, 11 Jan 2016 11:31:24 +0100 Sven Arvidsson wrote: > > I have added an external Sata port on my box. > > When I hot-plug a Sata HD into it it appears in dmesg as  /dev/sdi1 > > How can I get the system to auto-mount whatever Sata HD I plug into > > it to /media/eSata/ and this without havin

Re: Automounting an eSata drive

2016-01-11 Thread Ron
On Mon, 11 Jan 2016 11:53:28 +0100 Dominique Dumont wrote: > > The simplest way is probably by adding it with the user flag in > > /etc/fstab (and any other flags systemd needs to boot without it > > present) > You can also add a x-systemd.automount option in /etc/fstab > See systemd.mount(5)

Re: Automounting an eSata drive

2016-01-11 Thread Dominique Dumont
On Monday 11 January 2016 11:31:24 Sven Arvidsson wrote: > The simplest way is probably by adding it with the user flag in > /etc/fstab (and any other flags systemd needs to boot without it > present) You can also add a x-systemd.automount option in /etc/fstab See systemd.mount(5) for details HT

Re: Automounting an eSata drive

2016-01-11 Thread Sven Arvidsson
On Sat, 2016-01-09 at 18:42 -0300, Renaud OLGIATI wrote: > I have added an external Sata port on my box. > > When I hot-plug a Sata HD into it it appears in dmesg as  /dev/sdi1 > > How can I get the system to auto-mount whatever Sata HD I plug into > it to /media/eSata/ and this without having to