Re: Partitions per slice limitation removed?
Hi, No, you were not dreaming. When in doubt, check the source. From head/sbin/bsdlabel/bsdlabel.c [1]: Allow bsdlabel to operate on labels that have at most 26 partitions by virtue of there not being any (lower-case) letters avaliable for more partitions. [1] http://svn.freebsd.org/viewvc/base?view=revisionrevision=174501 Has anyone actually got that working? I just tried adding a 9th label on 8.0-RC2 with no luck. I tried both gpart and bsdlabel. silver% gpart show ad4s1 = 0 62914257 ad4s1 BSD (30G) 0 1048576 1 freebsd-ufs (512M) 1048576 2097152 2 freebsd-swap (1.0G) 3145728 14680064 4 freebsd-ufs (7.0G) 17825792 3145728 5 freebsd-ufs (1.5G) 20971520 1048576 6 freebsd-ufs (512M) 22020096 4194304 7 freebsd-ufs (2.0G) 26214400 4194304 8 freebsd-ufs (2.0G) 30408704 32505553 - free - (15G) silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs ad4s1 gpart: index '9': No space left on device ...and if I specify the index manually I get this: silver% sudo gpart add -b 30408704 -s 32505553 -t freebsd-ufs -i 9 ad4s1 gpart: index '9': Invalid argument silver% uname -r 8.0-RC2 Perhaps this isn't going to make into 8.0-RELEASE after all or am I doing something wrong? Cheers, Andrew./ ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org
Re: Scripting sysinstall
Hi Jeff, I'm having problems with sysinstall used from a script. (Before you ask, yes I've read the man page and yes I know sysinstall is greatly in need of death but I've not yet found a plausible alternative. I'm all ears if you've got one to suggest.) I had a lot of drama trying to get a similar thing working with sysinstall a while ago and never got it the way I wanted. Have you considered partitioning the disk manually with fdisk bsdlabel and installing the freebsd distributions using the install.sh scripts provided on the freebsd install cd's (e.g. DESTDIR=/mnt ./install.sh)? I think this would be easier to script in sh rather than fight with sysinstall. I've read an article[1] that tells you how to install freebsd on a usb stick using this technique, and I don't see a reason why this cannot be done with a normal disk. Hope this helps, Andrew. [1] http://typo.submonkey.net/articles/2006/4/13/installing-freebsd-on-usb-stick-episode-2| -- accidents happen... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
rc.diskless2 on FreeBSD 6.2
Hey, I'm currently setting up a system that runs off a compact flash disk. I'd like to have memory filesystems for /var, /tmp /dev to minimise the amount of writes to the cf. I read an article[1] that recommends the use of /etc/rc.diskless2, however I don't have /etc/rc.diskless2 on 6.3 nor on 5.4, 6.1, 6.2 or 7.0. I guess it must have been removed somewhere around 5.x Is there an alternative script in newer versions of FreeBSD? I can create the mfs partitions in fstab and write a simple script that will populate them with the necessary files on boot. However this seems like more work than using something standard like rc.diskless2. Many thanks, Andrew. [1]http://www.feebsd.org/doc/en_US.ISO8859-1/articles/solid-state/ro-fs.html -- accidents happen... ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]