Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 620808 - Missing -r flag in rm /dev/shm command
Summary: Missing -r flag in rm /dev/shm command
Status: RESOLVED FIXED
Alias: None
Product: Documentation
Classification: Unclassified
Component: Other (show other bugs)
Hardware: All Linux
: Normal normal
Assignee: Gentoo Linux bug wranglers
URL: https://wiki.gentoo.org/wiki/Handbook...
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-06-04 16:07 UTC by Kalle Richter
Modified: 2017-06-04 16:43 UTC (History)
1 user (show)

See Also:
Package list:
Runtime testing required: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kalle Richter 2017-06-04 16:07:50 UTC
The PPC base installation handbook page suggests to remove `/dev/shm` "When using non-Gentoo installation media [...] [on] some distributions". Since that left me with no idea whether I should remove `/dev/shm` or not, I did it with the suggested command which failed because `/dev/shm` is a directory on my iMac G4 PowerMac6,1. The instructions should be completed to cover this case and and more clarity when and when not to remove `/dev/shm` would be appreciated.

Reproducible: Always
Comment 1 Mike Gilbert gentoo-dev 2017-06-04 16:17:13 UTC
Read the section again:

> Some distributions make /dev/shm a *symbolic link* to /run/shm/ ...

If /dev/shm is not a symbolic link, you do not need to remove it.
Comment 2 Kalle Richter 2017-06-04 16:20:17 UTC
>> Some distributions make /dev/shm a *symbolic link* to /run/shm/ ...
> If /dev/shm is not a symbolic link, you do not need to remove it.
I see. If the command/instruction would contain a check for whether `/dev/shm` is invalid link it'd be perfectly clear.