Skip to contentSkip to conversation

possible to differ the timeout per key?

DISCUSSION Stef Bon 1 participant 1 message Oct 1, 2010 Kernel automounter

lore
Share & tools
lore

Stef Bon

author
#0 lore raw

Hello,

I'm building a construction to provide easy and effective access to different resources like harddrives, usb sticks, cdroms and remote like smb shares.

It uses a very simple map:

* -fstype=md5key :/&

and the key is a md5sum of a record.

The filesystem md5key does not exist of course but is a wrapper which calls the right mount command,
depending on the md5sum of the record. It will lookup the record, check what kind of resource it is and will call the right mount.command.

Now the timeout is set for all the mounts (smb shares, usb devices, harddrives, cdroms) the same (5 seconds) , but can I make this timeout differ per key/mountpoint??

Stef