From: Camaleón on 31 Jul 2010 05:40 On Fri, 30 Jul 2010 16:23:25 -0700, Robert Holtzman wrote: > On Fri, Jul 30, 2010 at 11:18:33AM +0000, Camale�n wrote: >> On Fri, 30 Jul 2010 16:01:10 +0700, Sthu Deus wrote: >> >> > Yet, do You know a guide or something that explains the *Debian* FS >> > structure: which dir. is for what. >> >> (...) >> >> I've found this: >> >> *** >> Debian Policy Manual >> Chapter 9 - The Operating System >> 9.1 File system hierarchy >> 9.1.1 File System Structure >> >> http://www.debian.org/doc/debian-policy/ch-opersys.html *** >> >> Not sure if that suits your needs :-? >> >> Additional docs: >> >> http://www.pathname.com/fhs/pub/fhs-2.3.html >> http://en.wikipedia.org/wiki/Filesystem_Hierarchy_Standard > > He will never buy the last two links. They don't say they are the > "Official Debian Way". Why not? As long as Debian sticks to FSH 2.3 (with the exceptions mentioned in the first link from Debian Policy Manual) I think the last two links full match his requirements and better yet, explain the "which dir if for what" question. Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.07.31.09.38.26(a)gmail.com
From: Boyd Stephen Smith Jr. on 31 Jul 2010 05:40 On Friday 30 July 2010 04:01:10 Sthu Deus wrote: > Good day. > > Yet, do You know a guide or something that explains the *Debian* FS > structure: which dir. is for what. > > Having separated programs from data w/ diver partitions, I have put the > following > > /home > /pub > /var > > on a single partition. All is working well, except I want to be as > close to Debian standards as I can yet reaching my goals, therefore I > would to know what is the best place for those in FS structure, and, > may, Debinish way. HTH although it may be a bit OT. Debian is not particularly sensitive to having many separate mount points, but there are a few limitations to remember: /etc and /lib must be part of /, unless you are willing to roll your own initramfs and can manage to mount them before starting the standard Debian boot process. /var should be a filesystem that fully support POSIX locking semantics, which may mean "not NFS". /home and /usr/local are, intentionally, not (or rarely) written to by the package manager and standard daemons. At the minimum I recommend / and /home to be separate file systems, even for single-user systems. You may also want to put /usr/local on a separate file system, I found it useful to share /usr/local with other distributions before. For a multi-user system, all user-writable locations should be separate file systems from "system" file systems. At the least, /var/tmp, /tmp, and /home should be separate file systems. /dev/shm may be user writable, but in modern system /dev is already a tmpfs file system, so no worries. This is mainly to prevent users of filling up system disks and making trouble for the administrator. In the past, the also prevent a specific type of hardlink attack, but dpkg now prevents that attack independent of file system layout. If you run a daemon that allows users to store data which is put in /var, it should also be separate. I prefer /usr, /opt, and /srv as separate file system as well, but that is simply to keep / small. The most file systems I use is like this: / -- (something fast) /boot -- RAID 1, bootable, of course. /home -- (something large, sharable with other OSes) /opt /srv /tmp -- tmpfs /usr /usr/local -- (something large, sharable with other UNIX/Linux OSes) /var /var/tmp -- (something fast) /var/cache -- (something fast) Debian handles it fine. As far as which file system to use, I have the most experience with reiserfs. The "killer feature" was online growing and offline shrinking. I don't recommend it anymore, but I'm not yet comfortable enough to recommend btrfs for "production" file systems. So, right now I don't have a recommendation. -- Boyd Stephen Smith Jr. ,= ,-_-. =. bss(a)iguanasuicide.net ((_/)o o(\_)) ICQ: 514984 YM/AIM: DaTwinkDaddy `-'(. .)`-' http://iguanasuicide.net/ \_/
From: Lisi on 31 Jul 2010 06:00 On Saturday 31 July 2010 10:38:28 Camaleón wrote: > > He will never buy the last two links. They don't say they are the > > "Official Debian Way". > > Why not? As long as Debian sticks to FSH 2.3 (with the exceptions > mentioned in the first link from Debian Policy Manual) I think the last > two links full match his requirements and better yet, explain the "which > dir if for what" question. I think that you have missed the humour, Camaleón. That is the difficulty of a cross-culture, cross-language ml. :-( Lisi -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/201007311056.12796.lisi.reisz(a)gmail.com
From: Camaleón on 31 Jul 2010 06:10 On Sat, 31 Jul 2010 10:56:12 +0100, Lisi wrote: > On Saturday 31 July 2010 10:38:28 Camaleón wrote: >> > He will never buy the last two links. They don't say they are the >> > "Official Debian Way". >> >> Why not? As long as Debian sticks to FSH 2.3 (with the exceptions >> mentioned in the first link from Debian Policy Manual) I think the last >> two links full match his requirements and better yet, explain the >> "which dir if for what" question. > > I think that you have missed the humour, Camaleón. That is the > difficulty of a cross-culture, cross-language ml. :-( Oh... I thought it was a real "complain" or so it appears if someone comes to the list and reads the thread. I just wanted to clarify a bit the context, meaning, we (Debian) are in the standard path :-) Greetings, -- Camaleón -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/pan.2010.07.31.10.07.35(a)gmail.com
From: Klistvud on 31 Jul 2010 11:20 Dne, 31. 07. 2010 11:37:27 je Boyd Stephen Smith Jr. napisal(a): > > /var should be a filesystem that fully support POSIX locking > semantics, which > may mean "not NFS". > Interesting. Makes me wonder how can this requirement be met when setting up diskless Debian clients (PXE boot over NFS)? -- Regards, Klistvud Certifiable Loonix User #481801 http://bufferoverflow.tiddlyspot.com Please reply to the list, not to me. -- To UNSUBSCRIBE, email to debian-user-REQUEST(a)lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmaster(a)lists.debian.org Archive: http://lists.debian.org/1280589410.17984.0(a)compax
First
|
Prev
|
Next
|
Last
Pages: 1 2 3 Prev: Testing: Weekly Build - 7/26/2010 Next: my (simple) sudoers doesn't work |