Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-24 Thread Simon Geard
On Sun, 2014-03-23 at 12:07 -0400, baho utot wrote:
 I think there are not many folks that have that on a separate partition.
 
 That's really the only problem with using /var/run.
 
 If I had to count using my fingers how many systems I have worked on 
 that have /var mounted on a separate partition I could count them even 
 if I had no fingers.

Agreed, but some people apparently *do* use it - the usual examples
given are around having a rootfs that's unsuitable for containing /var,
e.g because it's on read-only media, or it's shared between multiple
machines over an NFS mount. And under those circumstances, /run was
needed because /var/run couldn't be relied on to exist.

Simon.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread Simon Geard
On Sat, 2014-03-22 at 09:59 -0400, baho utot wrote:
 I am working on RPM-LFS-7.5 which is LFS with the rpm package manager.
 
 I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux 
 systems file system layout matches/closely matches my FreeBSD systems.  
 When was the /run directory introduced and what package(s) required 
 moving run-time data from /var/run to /run?
 

Just be aware that the FHS was last updated in January 2004 - a little
more than a decade ago - and as such is a bit out of date with regard to
how Linux distros are doing things.

In particular, it's unaware of both the /sys virtual filesystem (added
around 2006 as I recall), and the introduction of /run (in 2011 or so).
So while it's a useful guideline, I'd suggest not getting too hung up on
compliance...

Simon.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread baho utot

On 03/23/2014 04:36 AM, Simon Geard wrote:
 On Sat, 2014-03-22 at 09:59 -0400, baho utot wrote:
 I am working on RPM-LFS-7.5 which is LFS with the rpm package manager.

 I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux
 systems file system layout matches/closely matches my FreeBSD systems.
 When was the /run directory introduced and what package(s) required
 moving run-time data from /var/run to /run?

 Just be aware that the FHS was last updated in January 2004 - a little
 more than a decade ago - and as such is a bit out of date with regard to
 how Linux distros are doing things.

 In particular, it's unaware of both the /sys virtual filesystem (added
 around 2006 as I recall), and the introduction of /run (in 2011 or so).
 So while it's a useful guideline, I'd suggest not getting too hung up on
 compliance...

 Simon.


Just trying to match what I have on my unix boxes.  Even if it hasn't 
been updated doesn't mean it's not relavent.
I understand adding /sys but /run makes no sense as it could have been 
/var/run which by the way IS in the standard.


-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread Robin
On 23 March 2014 11:22, baho utot baho-u...@columbus.rr.com wrote:

 On 03/23/2014 04:36 AM, Simon Geard wrote:
 On Sat, 2014-03-22 at 09:59 -0400, baho utot wrote:
 I am working on RPM-LFS-7.5 which is LFS with the rpm package manager.

 I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux
 systems file system layout matches/closely matches my FreeBSD systems.
 When was the /run directory introduced and what package(s) required
 moving run-time data from /var/run to /run?

 Just be aware that the FHS was last updated in January 2004 - a little
 more than a decade ago - and as such is a bit out of date with regard to
 how Linux distros are doing things.

 In particular, it's unaware of both the /sys virtual filesystem (added
 around 2006 as I recall), and the introduction of /run (in 2011 or so).
 So while it's a useful guideline, I'd suggest not getting too hung up on
 compliance...

 Simon.


 Just trying to match what I have on my unix boxes.  Even if it hasn't
 been updated doesn't mean it's not relavent.
 I understand adding /sys but /run makes no sense as it could have been
 /var/run which by the way IS in the standard.



Found this: http://lwn.net/Articles/436012/

-- 
rob
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread baho utot

On 03/23/2014 07:32 AM, Robin wrote:
 On 23 March 2014 11:22, baho utot baho-u...@columbus.rr.com wrote:
 On 03/23/2014 04:36 AM, Simon Geard wrote:
 On Sat, 2014-03-22 at 09:59 -0400, baho utot wrote:
 I am working on RPM-LFS-7.5 which is LFS with the rpm package manager.

 I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux
 systems file system layout matches/closely matches my FreeBSD systems.
 When was the /run directory introduced and what package(s) required
 moving run-time data from /var/run to /run?

 Just be aware that the FHS was last updated in January 2004 - a little
 more than a decade ago - and as such is a bit out of date with regard to
 how Linux distros are doing things.

 In particular, it's unaware of both the /sys virtual filesystem (added
 around 2006 as I recall), and the introduction of /run (in 2011 or so).
 So while it's a useful guideline, I'd suggest not getting too hung up on
 compliance...

 Simon.

 Just trying to match what I have on my unix boxes.  Even if it hasn't
 been updated doesn't mean it's not relavent.
 I understand adding /sys but /run makes no sense as it could have been
 /var/run which by the way IS in the standard.


 Found this: http://lwn.net/Articles/436012/


Interesting post but /run only applies to linux as BSD doesn't use /run
I'll mark this up to anotherlinux only wart.

Thanks

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread Bruce Dubbs
Simon Geard wrote:
 On Sat, 2014-03-22 at 09:59 -0400, baho utot wrote:
 I am working on RPM-LFS-7.5 which is LFS with the rpm package manager.

 I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux
 systems file system layout matches/closely matches my FreeBSD systems.
 When was the /run directory introduced and what package(s) required
 moving run-time data from /var/run to /run?


 Just be aware that the FHS was last updated in January 2004 - a little
 more than a decade ago - and as such is a bit out of date with regard to
 how Linux distros are doing things.

 In particular, it's unaware of both the /sys virtual filesystem (added
 around 2006 as I recall), and the introduction of /run (in 2011 or so).
 So while it's a useful guideline, I'd suggest not getting too hung up on
 compliance...

See http://www.linuxbase.org/betaspecs/fhs/ for the FHS-3 beta.  It's 
not in really good shape as internally it still says 2004, but I've been 
working with the maintainers to update the format a bit.

That document does have /sys and /run.  There is really not a lot of 
other significant changes.

Just a guess, but I think FHS-3 will be released this summer.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread Bruce Dubbs
baho utot wrote:

 Just trying to match what I have on my unix boxes.  Even if it hasn't
 been updated doesn't mean it's not relavent.
 I understand adding /sys but /run makes no sense as it could have been
 /var/run which by the way IS in the standard.

/var doesn't work if it is mounted partition.

   -- Bruce




-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread baho utot

On 03/23/2014 11:58 AM, Bruce Dubbs wrote:
 baho utot wrote:

 Just trying to match what I have on my unix boxes.  Even if it hasn't
 been updated doesn't mean it's not relavent.
 I understand adding /sys but /run makes no sense as it could have been
 /var/run which by the way IS in the standard.
 /var doesn't work if it is mounted partition.

 -- Bruce





I think there are not many folks that have that on a separate partition.

That's really the only problem with using /var/run.

If I had to count using my fingers how many systems I have worked on 
that have /var mounted on a separate partition I could count them even 
if I had no fingers.

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread Aleksandar Kuktin
On Sun, 23 Mar 2014 12:07:49 -0400
baho utot baho-u...@columbus.rr.com wrote:

 I think there are not many folks that have that on a separate
 partition.
 
 That's really the only problem with using /var/run.

Although I did toy with the idea of changing my system to have /var on
a separate partition.

It's just that it is hard to find a really good justification for
geeking out and spreading your stuff over several storage devices.

-- 
Svi moji e-mailovi su kriptografski potpisani. Proverite ih.
All of my e-mails are cryptographically signed. Verify them.
--
You don't need an AI for a robot uprising.
Humans will do just fine.


signature.asc
Description: PGP signature
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-23 Thread Bruce Dubbs
Aleksandar Kuktin wrote:
 On Sun, 23 Mar 2014 12:07:49 -0400
 baho utot baho-u...@columbus.rr.com wrote:

 I think there are not many folks that have that on a separate
 partition.

 That's really the only problem with using /var/run.

 Although I did toy with the idea of changing my system to have /var on
 a separate partition.

 It's just that it is hard to find a really good justification for
 geeking out and spreading your stuff over several storage devices.


It does make a little sense in some situations to have /var/log on a 
separate partition.

   -- Bruce

-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-22 Thread Armin K.
On 03/22/2014 02:59 PM, baho utot wrote:
 I am working on RPM-LFS-7.5 which is LFS with the rpm package manager.
 
 I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux 
 systems file system layout matches/closely matches my FreeBSD systems.  
 When was the /run directory introduced and what package(s) required 
 moving run-time data from /var/run to /run?
 

It was introduced and first used by udev way before systemd merge.

-- 
Note: My last name is not Krejzi.
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page


Re: [lfs-support] /run directory: Maybe a bit off topic?

2014-03-22 Thread akhiezer
 Date: Sat, 22 Mar 2014 10:32:13 -0400
 From: baho utot baho-u...@columbus.rr.com
 To: LFS Support List lfs-support@linuxfromscratch.org
 Subject: Re: [lfs-support] /run directory: Maybe a bit off topic?

 On 03/22/2014 10:08 AM, Armin K. wrote:
  On 03/22/2014 02:59 PM, baho utot wrote:
.
.
  I would like to adhere to Filesystem Hierarchy Standard 2.3 so my linux
  systems file system layout matches/closely matches my FreeBSD systems.
  When was the /run directory introduced and what package(s) required
  moving run-time data from /var/run to /run?
 
  It was introduced and first used by udev way before systemd merge.
 
 OK thanks


You should be able to nail it down further via trac - e.g. search on '/run'
/or see what are the few pages that it's currently mainly discussed in
lfs-7.5, and check back on their revision histories; /or check back on 
changelog page for lfs releases; usw.


hth,
akh




--
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page