Hey list,
In the course of review of owfs (#927237) I was pointed that shipping directory in /mnt is prohibited. FHS seems to agree.
owfs is suite of program for accessing 1-wire network, which is simple hardware protocol. One of the program is FUSE module, giving the access to network and devices on it through filesystem. The "/mnt/1wire" directory is widely used default - it's in the default config files and many scripts over the net uses it. I'd really like to retain this similarity eith other distributions in Fedora.
Is there any way out from this situation?
On 05/07/2013 09:14 AM, Tomasz Torcz wrote:
Hey list,
In the course of review of owfs (#927237) I was pointed that shipping directory in /mnt is prohibited. FHS seems to agree.
owfs is suite of program for accessing 1-wire network, which is simple hardware protocol. One of the program is FUSE module, giving the access to network and devices on it through filesystem. The "/mnt/1wire" directory is widely used default - it's in the default config files and many scripts over the net uses it. I'd really like to retain this similarity eith other distributions in Fedora.
Is there any way out from this situation?
Yeah fix this and push it upstream so those doing it wrong start doing it right and follow FHS :)
JBG
On Tue, May 07, 2013 at 09:34:15AM +0000, "Jóhann B. Guðmundsson" wrote:
On 05/07/2013 09:14 AM, Tomasz Torcz wrote:
Hey list,
In the course of review of owfs (#927237) I was pointed that shipping directory in /mnt is prohibited. FHS seems to agree.
owfs is suite of program for accessing 1-wire network, which is simple hardware protocol. One of the program is FUSE module, giving the access to network and devices on it through filesystem. The "/mnt/1wire" directory is widely used default - it's in the default config files and many scripts over the net uses it. I'd really like to retain this similarity eith other distributions in Fedora.
Is there any way out from this situation?
Yeah fix this and push it upstream so those doing it wrong start doing it right and follow FHS :)
What would be proper path for such kind of filesystem?
On 2013-05-08 09:32, Tomasz Torcz wrote:
On Tue, May 07, 2013 at 09:34:15AM +0000, "Jóhann B. Guðmundsson" wrote:
On 05/07/2013 09:14 AM, Tomasz Torcz wrote:
Hey list,
In the course of review of owfs (#927237) I was pointed that shipping directory in /mnt is prohibited. FHS seems to agree.
owfs is suite of program for accessing 1-wire network, which is simple hardware protocol. One of the program is FUSE module, giving the access to network and devices on it through filesystem. The "/mnt/1wire" directory is widely used default - it's in the default config files and many scripts over the net uses it. I'd really like to retain this similarity eith other distributions in Fedora.
Is there any way out from this situation?
Yeah fix this and push it upstream so those doing it wrong start doing it right and follow FHS :)
What would be proper path for such kind of filesystem?
Hm... looking at FHS it actually looks like /mnt is the point for temporary filesystem, nfs mountpoints is an example. One alternative would be to see the 1-wire filesystem as a removable device and thus use /run/media for it., I guess.
There is the tmpfiles.d mechanism to set up the directory without packaging it (which isn't possible for /run anyway, since /run is empty on boot). Actually, I think you could technically use tmpfiles.d to add a temporary mountpount also in /mnt; no idea if this complies with the GL.
Just my 5 öre...
--alec
On Wed, 08.05.13 09:32, Tomasz Torcz (tomek@pipebreaker.pl) wrote:
On Tue, May 07, 2013 at 09:34:15AM +0000, "Jóhann B. Guðmundsson" wrote:
On 05/07/2013 09:14 AM, Tomasz Torcz wrote:
Hey list,
In the course of review of owfs (#927237) I was pointed that shipping directory in /mnt is prohibited. FHS seems to agree.
owfs is suite of program for accessing 1-wire network, which is simple hardware protocol. One of the program is FUSE module, giving the access to network and devices on it through filesystem. The "/mnt/1wire" directory is widely used default - it's in the default config files and many scripts over the net uses it. I'd really like to retain this similarity eith other distributions in Fedora.
Is there any way out from this situation?
Yeah fix this and push it upstream so those doing it wrong start doing it right and follow FHS :)
What would be proper path for such kind of filesystem?
/run/owfs/1wire or so sounds like a good idea.
/mnt really is something the admin owns and not the vendor, so the package should stay away from it.
On Wed, May 08, 2013 at 12:24:43PM +0200, Lennart Poettering wrote:
owfs is suite of program for accessing 1-wire network, which is simple hardware protocol. One of the program is FUSE module, giving the access to network and devices on it through filesystem. The "/mnt/1wire" directory is widely used default - it's in the default config files and many scripts over the net uses it. I'd really like to retain this similarity eith other distributions in Fedora.
What would be proper path for such kind of filesystem?
/run/owfs/1wire or so sounds like a good idea.
Why not jus /run/owfs or /run/1wire? Is there a reason for longer path?
On Thu, 09.05.13 07:51, Tomasz Torcz (tomek@pipebreaker.pl) wrote:
On Wed, May 08, 2013 at 12:24:43PM +0200, Lennart Poettering wrote:
owfs is suite of program for accessing 1-wire network, which is simple hardware protocol. One of the program is FUSE module, giving the access to network and devices on it through filesystem. The "/mnt/1wire" directory is widely used default - it's in the default config files and many scripts over the net uses it. I'd really like to retain this similarity eith other distributions in Fedora.
What would be proper path for such kind of filesystem?
/run/owfs/1wire or so sounds like a good idea.
Why not jus /run/owfs or /run/1wire? Is there a reason for longer path?
Well, FHS suggests packages create a directory below /run and then stick their stuff below it. That probably makes a some sense... Hence I'd suggest /run/owfs as the package directory, and /run/owfs/1wire as the "stuff below it"....
Lennart