Yes,

mount

sysfs on /sys type sysfs (rw,nosuid,nodev,noexec,relatime)
proc on /proc type proc (rw,nosuid,nodev,noexec,relatime)
udev on /dev type devtmpfs (rw,relatime,size=10240k,nr_inodes=160427,mode=755) devpts on /dev/pts type devpts (rw,nosuid,noexec,relatime,gid=5,mode=620,ptmxmode=000)
tmpfs on /run type tmpfs (rw,nosuid,noexec,relatime,size=129376k,mode=755)
/dev/disk/by-uuid/14c20230-3f58-4169-8125-0e9148600bf8 on / type ext3 (rw,relatime,errors=remount-ro,barrier=1,data=ordered)
tmpfs on /run/lock type tmpfs (rw,nosuid,nodev,noexec,relatime,size=5120k)
tmpfs on /run/shm type tmpfs (rw,nosuid,nodev,noexec,relatime,size=747120k)
/.tmpfs on /tmp type ext3 (rw,nosuid,noexec,relatime,errors=continue,barrier=1,data=ordered)
fusectl on /sys/fs/fuse/connections type fusectl (rw,relatime)
/dev/sdb1 on /media/toshiba type ext3 (rw,nosuid,nodev,relatime,errors=continue,barrier=1,data=ordered,uhelper=udisks) /dev/sdb2 on /media/lfs type ext4 (rw,nosuid,nodev,relatime,user_xattr,barrier=1,data=ordered,uhelper=udisks)

The echo $LFS, is constantly slipping in and out of /mnt/lfs. I have to keep doing the 'export'. Right now it returns nothing. The only time it did not slip-out, unmount itself was when I kept the same terminal open from start to finish. However, close that terminal - reboot, changes everything. I am thinking this might be Debian, if so going to internal drive would not help.

Thanks.

William


On 01/11/2014 02:11 PM, David Kredba wrote:
Could you please post to here output of a "mount" command started in
your Debian konsole/terminal and output of "echo $LFS"?


2014/1/11 William Darryl Jackson <[email protected]>:
I never answered your question: after doing the export LFS=/mnt/lfs; ls
-ld $LFS/sources says directory not found, from root.

I added a label to the 'partition' and now I can view the folders from
my file manager... but still not accessible in terminal mode.

Thanks

William

On 01/11/2014 01:50 PM, William Darryl Jackson wrote:
On 01/11/2014 01:24 PM, Pierre Labastie wrote:
Le 11/01/2014 16:33, William Darryl Jackson a écrit :

Now I find-out that g++ is not on my system, and thus c++. I install the
program and decide to remove the ../gcc-build folder to reconfigure gcc
from that point forward. I have switched back to the $lfs user but when I:

mkdir -v ../gcc-build

I find that I now do not have permission; "permission denied". I checked
the folder permissions - the owner is lfs, but the group is root. If I
am the owner, why no permission? This is what got me turned around
previously. This time I thought I would ask, why this occurs. Before I
start making changes. Yes, I am doing an 'echo $LFS', regularly.

What is the exact output of "ls -ld $LFS/sources"? I have:

drwxrwxrwt 5 root root 36864 janv.  5 22:17 /mnt/lfs/sources

So user lfs is not even the owner, but everybody has right to write, and there
is the "sticky" bit (last t), which just means that a file belonging to some
user cannot be removed or modified by another user.

Now, there may be other reasons. Your system may use acl (access control
lists), or selinux, which further restrict permissions. What is your host
distribution?

regards
Pierre
Good point about the write permissions. I have other problems, tho. I am
building this to an external drive and I have mount problems. I get the
device name as root, but the media name as user. And my files 'sources',
'tools' are only visible to root.

I have to figure-out /etc/fstab... probably to not mount at all, and
then do manual mount - because we have /mnt/lfs.... when ultimately, if
I can ever be successful - grub will need to see /dev/sdb2 - which
currently is only accessible by root. I just did a 'chown -R lsf:lsf
/mnt/lsf.... need to put it back to root:root and try to figure-out the
mount situation.

My build is Debian. I am interested in LFS because of all the craziness
(lack of control).

Thanks,

William
--
http://linuxfromscratch.org/mailman/listinfo/lfs-support
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page

-- 
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