Opened 15 years ago

Closed 15 years ago

#2506 closed task (fixed)

Why are we using "mkdir -p" when creating $LFS/{dev,proc,sys}

Reported by: robert@… Owned by: Matthew Burgess
Priority: normal Milestone: 6.6
Component: Book Version: SVN
Severity: normal Keywords:
Cc:

Description

6.2. Preparing Virtual Kernel File Systems

The mkdir "-p" option creates parent directories, which in this case is $LFS, and $LFS should already exist by chapter 6.

Removing this -p option would help show that something is not right.

Change History (4)

comment:1 by robert@…, 15 years ago

It would show two problems. Either the $LFS directory does not exist, or the $LFS environment variable does not exist (assuming these directories exist on the host).

comment:2 by bdubbs@…, 15 years ago

Milestone: 6.6

I'm inclined to close this as wontfix, but will leave it for Matt to address.

Moving to milestone 6.6 for now.

comment:3 by Matthew Burgess, 15 years ago

Owner: changed from lfs-book@… to Matthew Burgess
Status: newassigned

comment:4 by Matthew Burgess, 15 years ago

Resolution: fixed
Status: assignedclosed

Fixed in r9097.

Note: See TracTickets for help on using tickets.