Packaging directory in /mnt - how to do so?

Lennart Poettering mzerqung at 0pointer.de
Thu May 9 13:09:19 UTC 2013


On Thu, 09.05.13 07:51, Tomasz Torcz (tomek at 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

-- 
Lennart Poettering - Red Hat, Inc.


More information about the devel mailing list