[OpenIndiana-discuss] ntfs-3g

Мартин Бохниг opensxce at mail.ru
Mon Sep 26 07:51:04 UTC 2016


>Fixed devices are controlled by /etc/vfstab, you may want
>to not mount them, or mount them either read-write or read-only.

So called "removable" devices _can_ also be mounted via vfstab.
And system-filesystem-rmvolmgr _can_ be disabled via svcadm.

And it would be trivial to enhance rmvolmgr to also mount non-"removable" devices, if one wanted to for an experiment.

Alltogether it is an artificial distrinction, based on the expectation that all usb connected devices are "mobile" and that SAS or SATA (or IDE or SCSI) connected devices aren't.
You turn a "removable" device into "fixed storage" in 20 seconds by simply plugging any SATA disk behind some USB bridge.

Also I myself own a Quad-bay USB tower since 2008 and believe me - it is not a mobile device.

But back to your examples: 

> Why would you plug dynamically on a running system an ntfs
> device which you would not want to mount ?

No, it has nothing to do with that.
E.g. if there is no such connection event triggered, your mobile devices also get mounted by rmvolmgr during boot.
And in contrast: If I hot-swap add a SAS disk, even though a mobile even did in theory take place, nothing will get automounted, only devfsadm handles the device nodes and symlinks.


Do you see the point?
It is not about mobile user events in the first place, but the point is {is it connected via USB} or not.
The dynamic event handling stuff comes only afterwards and even if there is no such event, USB devices still get handled by rmvolmgr unless it was disabled via SMF or unless the device in question was already mounted explicitly via vfstab before rmvolmgr gets reached during a boot in the SMF hierarchy (and/or if it contains another filesystem).







>
>
>> (Although: I think the rmvolmgr is smart enough to distinguish "mobile" devices from fixed storage).
>> It would be similary to force-import / automount all zfs pools on a system (as on some other ZFS platforms).
>>
>> Are you 100% sure we want that?
>
>I mean automounting triggered by plugging in a USB device.
>You plug in the device, it mounts without having to determine
>its device patch, which depends on the USB socket you have used.
>
>Why would you plug dynamically on a running system an ntfs
>device which you would not want to mount ?
>
>> No, perhaps not.
>>
>> However, with exFAT this problem doesn't exist, as exFAT will only reside on some removable media.
>> Hence _after_ we do have fuse-exFAT support functioning well on Hipster, let's think again about your proposal, but for exFAT rather than for ntfs (or lets say: for *both*, but milited to USB storage aka "mobile devices").
>>
>>
>> regards,
>> %martin, East-Berlin
>>
>>
>>
>>> Понедельник, 26 сентября 2016, 6:56 UTC от Jean-Pierre André < jean-pierre.andre at wanadoo.fr >:
>>>
>>> Мартин Бохниг via openindiana-discuss wrote:
>>>>
>>>>
>>>>  https://github.com/illumos/illumos-gate/tree/master/usr/src/cmd/rmvolmgr
>>>>
>>>
>>> Thanks
>>>
>>> Jean-Pierre
>>>
>> _______________________________________________
>> openindiana-discuss mailing list
>>  openindiana-discuss at openindiana.org
>>  https://openindiana.org/mailman/listinfo/openindiana-discuss
>>
>
>
>
>
>_______________________________________________
>openindiana-discuss mailing list
>openindiana-discuss at openindiana.org
>https://openindiana.org/mailman/listinfo/openindiana-discuss



More information about the openindiana-discuss mailing list