Tag Info

Hot answers tagged

3

No, it's the SVR4 standard location - it's just that Solaris is the most common SVR4 based OS remaining today. If you look at the Unix Rosetta stone you will find vfstab was also used on other less well-known SVR4 based OS'es.


3

No. /etc/vfstab is used by Solaris but it is specific to all SVR4 systems. This is the equivalent of the UNIX-es/Linux/*BSD /etc/fstab. In fact the old SunOS 4.x was using /etc/fstab as well. Here is a small list of known equivalent for /etc/fstab used by other proprietary OS: IBM AIX (3.x and 4.x): /etc/filesystems HP-UX (up to 9.x): /etc/checklist ...


1

Two problems: Your makefile is set up to use the Solaris C compiler's options, but you're using gcc. You don't say how your makefile was generated, but replacing CFLAGS with something more appropriate will help. If you used a configure script to generate your makefile then I'm a bit confused, as doing CC=gcc ./configure should be enough to do the right ...


1

It gets a bit long as you seem to have blank lines in the input. The following might work for you: awk -F'[, ]' '{if (NF!=0 && $1=="") {$1=prev} prev=$1}1' OFS=, inputfile The idea is to split fields on , and whitespace (the latter in order to handle the first line of input). Check if the first field is blank and the number of fields is not zero ...



Only top voted, non community-wiki answers of a minimum length are eligible