Sorry for my post... found it.. hdparm must be downloaded at
http://www.linuxfromscratch.org/blfs/view/cvs/general/hdparm.html




On Tue, Dec 25, 2012 at 4:10 PM, JIA Pei <[email protected]> wrote:

>
> Hi, Merry Christmas everybody:
>
>
> Now, I proceed to chapter 8.2
> http://www.linuxfromscratch.org/lfs/view/development/chapter08/fstab.html
>
> 1) However, it seems I cannot run
> *hdparm -I /dev/sda | grep NCQ*
>
> because of the following error message:
> *bash: hdparm: command not found*
>
> Should I run the above command after I booted from SD card??
>
>
> 2) By the way, under *root:/*
>
> *root:/# ls /dev*
> *console  initctl  null  tty*
>
> which is telling: there is no partition on the SD Card yet (probably
> because I didn't boot from the SD card yet)
>
> In such a situation: what will <xxx> and <yyy> be when setting */etc/fstab
> * ?
>
> */dev/<xxx>     /            <fff>    defaults            1     1*
> */dev/<yyy>     swap         swap     pri=1               0     0*
>
> I'm using *sda1* and *sda2* for now. Under my Ubuntu host,
> *peijia@peijia-GA-870A-UD3:/etc$ ls /dev/sd**
> */dev/sda   /dev/sda2  /dev/sdb   /dev/sdb2  /dev/sdc   /dev/sdd
> /dev/sdd2*
> */dev/sda1  /dev/sda3  /dev/sdb1  /dev/sdb5  /dev/sdc1  /dev/sdd1*
>
> in which /dev/sdd1 is corresponding to the ext4 file system for LFS on the
> SD card;
> /dev/sdd2 is corresponding to a SWAP on the SD card too.
>
>
> So, in short, is the following correct?
> */dev/sda1     /            ext4    defaults            1     1*
> */dev/sda2     swap         swap     pri=1               0     0*
>
>
> Cheers
>
> --
>
> Pei JIA
>
> Email: [email protected]
> cell:    +1 604-362-5816
>
> Welcome to Vision Open
> http://www.visionopen.com
>



-- 

Pei JIA

Email: [email protected]
cell:    +1 604-362-5816

Welcome to Vision Open
http://www.visionopen.com
-- 
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

Reply via email to