Richard Melville wrote:
On 6 December 2014 at 23:03, Bruce Dubbs <[email protected]> wrote:
Richard Melville wrote:
I wonder if you could use a swap file for hibernation?
Swap files certainly support hibernation but I'm not sure how that would
help me. Btrfs doesn't support swap files, at least, not at present :-(
OK, then why not shrink the large btrfs partition enough to accommodate a
standard swap partition?
I don't have one partition, as such, on the SSD; btrfs doesn't require a
partitioning scheme. It's true that it can exist happily on a partition,
but one can, alternatively, give btrfs a bare drive (mkfs.btrfs /dev/sda)
and then use the pooling benefits of the filesystem, together with
subvolumes, quotas, and snapshots. That, for me, seemed a really nice
feature of btrfs, and a much simpler way of using a disk. If space runs
out then other disks can be added to the btrfs pool on the fly. RAID can
be set up in the same manner
I'm not really familiar with btrfs. Interesting. I probably need to
investigate some more.
I would also have a 200M /boot partition. Why do you need to make things
all on one partition?
Even with seven different kernel images (unnecessary, I know) /boot is only
using 58MB of the 100MB partition. I'm using syslinux rather than the
bloated, and IMO the unnecessarily complex, grub. I really can't see any
benefit of using grub, although, of course, it's useful to know how it
works as it's adoption has been so widespread.
I agree that 100M is sufficient for most, but I build/test a lot of
kernels. Right now I have 104M used on one system.
GRUB as we use it in LFS is not complicated. It's only the commercial
distros that make it complicated. Most of the complication stems from
two points:
1. Make the boot screen pretty, even though a user only looks at it for
four or five seconds. Adding mouse support is a part of this.
2. Use the horrible scripts in /etc/grub.d so they can update grub.cfg
when installing a new kernel. If they just has an include statement
like 'include /boot/grub/grub.d/*.cfg' where they could just drop in a
menuitem entry, then it would be easier, but then a distro would have a
problem installing their entry first.
Maybe, and I'll accept that btrfs is still somewhat buggy, but I thought
that the whole ethos of *LFS was to try different thinks out and to move
forward. That's how we learn.
Good point.
-- Bruce
--
http://lists.linuxfromscratch.org/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page
Do not top post on this list.
A: Because it messes up the order in which people normally read text.
Q: Why is top-posting such a bad thing?
A: Top-posting.
Q: What is the most annoying thing in e-mail?
http://en.wikipedia.org/wiki/Posting_style