Changeset 2349 in MondoRescue
- Timestamp:
- Aug 27, 2009, 2:40:29 PM (15 years ago)
- Location:
- branches/2.2.10
- Files:
-
- 2 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/2.2.10/mindi/rootfs/sbin/init
r2329 r2349 785 785 LogIt "init (from mindi v$MINDI_VER-r${MINDI_REV})" 786 786 LogIt "$CMDLINE is:" 787 LogIt "----------" 787 788 cat $CMDLINE >> $LOGFILE 789 LogIt "----------" 788 790 LogIt "df result:" 789 791 LogIt "----------" … … 813 815 LogIt "-------------" 814 816 cat /proc/partitions >> $LOGFILE 815 817 LogIt "-------------" 818 LogIt "fdisk result:" >> $LOGFILE 819 LogIt "-------------" 820 fdisk -l >> $LOGFILE 816 821 817 822 ide-opt -
branches/2.2.10/mondo/src/common/libmondo-devices.c
r2334 r2349 2093 2093 2094 2094 #ifdef __FreeBSD__ 2095 mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output("LANGUAGE=C df -m -P -t nonfs,msdosfs,ntfs,ntfs-3g,smbfs,smb,cifs,afs,gfs,ocfs,ocfs2,mvfs,nsspool,nssvol | tr -s '\t' ' ' |grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));2095 mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output("LANGUAGE=C df -m -P -t nonfs,msdosfs,ntfs,ntfs-3g,smbfs,smb,cifs,afs,gfs,ocfs,ocfs2,mvfs,nsspool,nssvol | grep -vE \"none|Filesystem\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'")); 2096 2096 #else 2097 mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output("LANGUAGE=C df -m -P -x nfs -x nfs4 -x vfat -x ntfs -x ntfs-3g -x smbfs -x smb -x cifs -x afs -x gfs -x ocfs -x ocfs2 -x mvfs -x nsspool -x nssvol -x iso9660 | sed 's/ /devdev/' | tr -s '\t' ' '| grep -vE \"none|Filesystem|/dev/shm\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'"));2097 mr_asprintf(tmp, "%s", call_program_and_get_last_line_of_output("LANGUAGE=C df -m -P -x nfs -x nfs4 -x vfat -x ntfs -x ntfs-3g -x smbfs -x smb -x cifs -x afs -x gfs -x ocfs -x ocfs2 -x mvfs -x nsspool -x nssvol -x iso9660 | grep -vE \"none|Filesystem|/dev/shm\" | awk '{printf \"%s %s\\n\", $4, $6;}' | sort -n | tail -n1 | awk '{print $NF;}'")); 2098 2098 #endif 2099 2099
Note:
See TracChangeset
for help on using the changeset viewer.