Date: Thu, 26 Mar 2009 17:14:22 +0000 (UTC) From: Doug Ambrisko <ambrisko@FreeBSD.org> To: cvs-src-old@freebsd.org Subject: cvs commit: src/sys/amd64/linux32 linux.h src/sys/compat/linprocfs linprocfs.c src/sys/compat/linux linux_file.c src/sys/conf files.amd64 files.i386 src/sys/dev/ipmi ipmi_linux.c src/sys/modules/ipmi Makefile src/sys/modules/linprocfs Makefile Message-ID: <200903261715.n2QHFGk7049119@repoman.freebsd.org>
index | next in thread | raw e-mail
ambrisko 2009-03-26 17:14:22 UTC
FreeBSD src repository
Modified files:
sys/amd64/linux32 linux.h
sys/compat/linprocfs linprocfs.c
sys/compat/linux linux_file.c
sys/conf files.amd64 files.i386
sys/modules/ipmi Makefile
sys/modules/linprocfs Makefile
Added files:
sys/dev/ipmi ipmi_linux.c
Log:
SVN rev 190445 on 2009-03-26 17:14:22Z by ambrisko
Add stuff to support upcoming BMC/IPMI flashing of newer Dell machine
via the Linux tool.
- Add Linux shim to ipmi(4)
- Create a partitions file to linprocfs to make Linux fdisk see
disks. This file is dynamic so we can see disks come and go.
- Convert msdosfs to vfat in mtab since Linux uses that for
msdosfs.
- In the Linux mount path convert vfat passed in to msdosfs
so Linux mount works on FreeBSD. Note that tasting works
so that if da0 is a msdos file system
/compat/linux/bin/mount /dev/da0 /mnt
works.
- fix a 64it bug for l_off_t.
Grabing sh, mount, fdisk, df from Linux, creating a symlink of mtab to
/compat/linux/etc/mtab and then some careful unpacking of the Linux bmc
update tool and hacking makes it work on newer Dell boxes. Note, probably
if you can't figure out how to do this, then you probably shouldn't be
doing it :-)
Revision Changes Path
1.24 +1 -1 src/sys/amd64/linux32/linux.h
1.137 +72 -0 src/sys/compat/linprocfs/linprocfs.c
1.118 +9 -0 src/sys/compat/linux/linux_file.c
1.134 +1 -0 src/sys/conf/files.amd64
1.618 +1 -0 src/sys/conf/files.i386
1.1 +113 -0 src/sys/dev/ipmi/ipmi_linux.c (new)
1.3 +2 -0 src/sys/modules/ipmi/Makefile
1.16 +1 -0 src/sys/modules/linprocfs/Makefile
help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200903261715.n2QHFGk7049119>
