From: UnixOS2 Archive To: "UnixOS2 Archive" Date: Thu, 29 Aug 2002 04:35:39 EST-10EDT,10,-1,0,7200,3,-1,0,7200,3600 Subject: [UnixOS2_Archive] No. 312 ************************************************** Wednesday 28 August 2002 Number 312 ************************************************** Subjects for today 1 Re: FHS : Dave and Natalie" 2 Re: FHS : Dave and Natalie" 3 Re: FHS : Dave and Natalie" 4 Re: FHS : Dave and Natalie" **= Email 1 ==========================** Date: Thu, 29 Aug 2002 20:20:09 -0800 From: "Dave and Natalie" Subject: Re: FHS Sorry for jumping in late here, went thruogh a period where I was working all the time On Sat, 24 Aug 2002 19:32:59 +0200, Andreas Buening wrote: >3.4 /bin: Essential user command binaries (for use by all users) > >3.4.1 Purpose >/bin contains commands that may be used by both the system administrator >and by users, but which are required to maintain, install or repair an existing >UnixOS/2 installation or to install or remove binary packages. It may also >contain commands which are used indirectly by scripts. > Another point here is that we could put /bin at the beginning of %PATH% so utilities that have OS/2 equilavients could also go here. > >3.4.2 Requirements > >There must be no subdirectories in /bin. > >The following commands are required in /bin (note: if the FHS standard >requires a command like cp or mv to be in /bin I added the whole GNU file >utiltiy package to /bin to minimize maintainance effort): > >GNU file utilities >GNU shell utilities >GNU text utilities >sh The Bourne command shell (currently pdksh) >more >sed > >(I recommend to add also the following shells and utilities to have >them all at the same place:) > >bash >ksh >awk >grep >perl Perl is usually in /usr/bin > > >3.4.3 Specific Options > >The following programs must be in /bin is the corresponding subsystem is >installed: > >csh >ed >tar >cpio >gzip >gunzip >zcat >netstat >ping > >(To be exactly I think we will not need csh, ed, netstat and ping here, >but at least all programs that are required to install or repair or >remove packages) > >ux2-tools (ux2-install, ux2-update, ..., however they will be called) >zip >unzip >the packager itself (rpm, whatever) Dave **= Email 2 ==========================** Date: Thu, 29 Aug 2002 20:20:10 -0800 From: "Dave and Natalie" Subject: Re: FHS On Sat, 24 Aug 2002 19:32:59 +0200, Andreas Buening wrote: >3.9.2 Requirements > >At least this means the following files: > >emx*.dll libc >intl.dll gettext library > >maybe also: >regex.dll >iconv.dll > >To minimize the maintainance effort the according static libraries have >to be installed at the same place. I notice that Debian (woody) also has slang and ncurses here Need to consider that some users will be using TVFS for their unixroot and should have a fallback unixroot that has /bin /sbin /lib without /usr Dave **= Email 3 ==========================** Date: Thu, 29 Aug 2002 20:20:11 -0800 From: "Dave and Natalie" Subject: Re: FHS On Sat, 24 Aug 2002 19:32:59 +0200, Andreas Buening wrote: >4.9 /usr/local: Local hierarchy /usr/local/ should also come first in things like %PATH% %INCLUDE% libpath etc. So locally installed programs are found before system files. Dave **= Email 4 ==========================** Date: Thu, 29 Aug 2002 20:20:12 -0800 From: "Dave and Natalie" Subject: Re: FHS On Sat, 24 Aug 2002 11:31:15 -0700 (PDT), Steve Wendt wrote: >>The other Unix directories /boot, /dev, /mnt, /opt, /var have >>currently no meaning for UnixOS/2 and do not exist. > /mnt is handy if using TVFS for mounting other partitions >Some packages might want to install to /opt, but perhaps they should be redirected >to /usr/local. /var could be important for things like logging, or maybe even other >things. Looking at the hierarchy on my Linux partition, the ones that might be >most important: >/var/lock >/var/log >/var/spool Ideally /usr should work fine even if readonly so anything that needs to be written should goto /var besides the above there is also /var/cache including /var/cache/man holding all the cat directories also things like unixos2 package lists (what is installed / available) could go here /var/games for storing things like high scores /var/lib for other system wide storeage needed by various programs ranging from urandom to htdig /var/local /var/run for pids of running programs /var/tmp for temporary files that need to survive reboots. (That way canhave a script to cleanup /tmp every reboot. vi uses this for recovery files incase of crash, power failure etc and perhaps /var/www for htdig, info2www etc Of course in a single user system lots of these could go into %HOME% but I myself already have multipul (sp?) home directories with scripts to change them so my son can have a different enviroment then me. Dave