Re: Hooks for automount

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On 13/03/2021 01:29, Patrick O'Callaghan wrote:
On Fri, 2021-03-12 at 22:39 +0800, Ed Greshko wrote:
Does something need running when the share goes from unmounted to
mounted?
Just a timer. Once it's powered up and mounted, it should stay that
way
until an idle timeout is triggered.
That statement confuses me.  Isn't that what happens with automount
and the TimeoutIdleSec=
parameter?

<snip>

Of course it's possible that sending some command to the dock would
power down the drives, but the thing has no useful documentation. It
just comes with (of course) a Windows driver.

OK....  My understanding is that the HW you have doesn't power-down or power-up (wake-up) in
response to an unmount or mount operation.

So, in the case of automount/autounmount you need "something" to

issue power-up command followed by mount

and

unmount followed by issue power-down command

So, it does sound to me your configuration is very "non-standard" and not common.
It also sounds like you're trying to workaround deficiencies in HW that seems to have
been designed with Windows in mind.

I don't think systemd was meant to solve these sorts of issues   And a kludge is more
fitting than trying to shoehorn in a standard tool.  Of course you then, potentially,
have to maintain the kludge.  I used to do that.  But no longer.  I found other "hobbies".  :-)

--
People who believe they don't make mistakes have already made one.

_______________________________________________
users mailing list -- users@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to users-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/users@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam on the list, report it: https://pagure.io/fedora-infrastructure



[Index of Archives]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [EPEL Devel]     [Fedora Magazine]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Desktop]     [Fedora Fonts]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Fedora Sparc]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux