Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #206318
| From | "Stephen P. Molnar" <s.molnar@sbcglobal.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Fstab Questions (Final time) |
| Date | 2019-03-18 16:20 +0100 |
| Message-ID | <xD2dr-36l-5@gated-at.bofh.it> (permalink) |
| References | <xCCsF-3oP-1@gated-at.bofh.it> <xCZIB-1tg-3@gated-at.bofh.it> <xD0bD-1SY-1@gated-at.bofh.it> <xD0v0-1Zg-3@gated-at.bofh.it> <xD17I-2rS-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
On 03/18/2019 09:59 AM, Dan Purgert wrote: > -----BEGIN PGP SIGNED MESSAGE----- > Hash: SHA256 > > rhkramer@gmail.com wrote: >> On Monday, March 18, 2019 08:56:20 AM Dan Purgert wrote: >>> I'm bad with the FHS, but shouldn't say your shark-attack movies be >>> somewhere in /usr(/local) ? >> I'd say no -- if they were shark attack programs, /usr/local could be >> appropriate. (/usr/local is for local programs) > I think source code can go there as well (/usr/local/src). But taking a > quick look at the FHS, /usr/local is indeed more geared towards > programs, rather than just "read-only" data. So, yeah, /usr/local is > probably out. > >> If they are files (movies, documents, MIDI files, ....), they should >> be either in /home/<user> ... (keep reading) > Maybe I misinterpreted it -- I thought we were talking about "shared" > media, saved on an extra harddrive / partition, rather than something > that was more "personal" in nature as implied by sticking it in $HOME. > >>> maybe /srv if you're running a media >>> server? >> I've had some input into the FHS -- read more below -- but I don't >> remember offhand about /srv -- I vaguely think that is ok, but keep >> reading ... > According to the FHS[1] , "/srv - Data for services provided by this > system". So, if it's a media server (rather than a desktop with extra > harddrive for local watching), it seems a mountpoint within /srv (e.g. > /srv/movies ) would conform to things. >>> Or is there some caveat that allows for mounting new partitions into >>> the root directory, while remaining "FHS compliant"? >> I (some time ago) read the FHS more than once, and had some input into >> changing some portions of it (related to /home -- my intent was to allow >> <user> owned files to be either in /home/<user> or in some other, >> arbitrarily named, top level directory chosen by the user. > So, you'd move their home directory then? Or do you mean to say that > > $HOME -> /home/username (as is usually done) > $FILES -> /somewhere (some new directory for them to throw stuff) > > >> I do this all the time, and I believe I am in compliance with the FHS. >> >> If anyone (who is familiar with the FHS) believes different, I'd like >> to know, and I would then attempt to amend the FHS appropriately. > That approach seems to be non-compliant, with the idea that the root > filesystem (/) is supposed to be "as small as reasonably possible". > Though that being said, the FHS seems geared more toward programmers > (i.e. "use the defined directories for your application's needs") and > distro maintainers (i.e. "think very carefully before customizing your > directories...") > > -----BEGIN PGP SIGNATURE----- > > iQEzBAEBCAAdFiEEBcqaUD8uEzVNxUrujhHd8xJ5ooEFAlyPpCUACgkQjhHd8xJ5 > ooGmtwgAqBPsqSGF1sBvOcPAc+52SPv09ZqOJK6kZBoEyQpihan6dSic3B1Ho+0K > 0BrM6lEglGJvD6aL6qds5dfg9hvkaSeurd+L+mV6mlY/hOhx9/K5fkVUCKkeRlHv > Y/W+mgdLQdOOtPAe3cWBZXFSNyg2N/63US2ScnW65OwQiBKnN+SPEhB3mpBBl+2p > ZZy8/EQ7zOEHg7+3pkcb5ButnP10rfv1ROmiTXuFP5rSCDoHeHEZVP9rO9+K5bba > EpLgkrT3odtSBS0bajMr/X0bcUbv+SmHl946tobI5oawQ1Xq3qKdkvCkMKaPo5J2 > we/dTA1sNVVdqEEtimqUMFRZOLV0OQ== > =HJ3a > -----END PGP SIGNATURE----- > While I appreciate the comments of folks much more learned than I in the intricacies of Linux, I would like to hue to the intent of my original thread of postings. That is requesting help in getting my OS setup after some hardware charges. (please note I am not trying to start a flame war.) I now have a system that boots without any problems. The fstab is: # <file system> <mount point> <type> <options> <dump> <pass> # / was on /dev/sda1 during installation UUID=71f1ed49-9178-4bbc-b872-510f7982e245 / ext4 errors=remount-ro 0 1 # swap was on /dev/sda5 during installation UUID=4b041dec-d00f-4acf-a731-f6a34d885105 none swap sw 0 0 UUID=900b5f0b-4f3d-4a64-8c91-29aee4c6fd07 /sdb1 ext4 rw,users,defaults 0 0 UUID=1f363165-2c59-4236-850d-36d1e807099e /sdc1 ext4 rw,users,defaults 0 0 /dev/sr0 /media/cdrom0 udf,iso9660 user,noauto 0 0 which results in: comp@AbNormal:~$ lsblk NAME MAJ:MIN RM SIZE RO TYPE MOUNTPOINT sda 8:0 0 465.8G 0 disk ├─sda1 8:1 0 457.9G 0 part / ├─sda2 8:2 0 1K 0 part └─sda5 8:5 0 7.9G 0 part [SWAP] sdb 8:16 0 1.8T 0 disk ├─sdb1 8:17 0 1.8T 0 part /sdb1 ├─sdb2 8:18 0 1K 0 part └─sdb5 8:21 0 7.9G 0 part sdc 8:32 0 465.8G 0 disk └─sdc1 8:33 0 465.8G 0 part /sdc1 sr0 11:0 1 1024M 0 rom Further, as root I created a directory; /sbc1/Apps and gave it permissions chmod 777 /sdc1/Apps -R. I can read and write to Apps, Currently I have: comp@AbNormal:/sdc1/Apps$ l total 68208 drwxr-xr-x 27 comp comp 4096 Jan 1 09:17 Fortran -rwxrwxrwx 1 comp comp 69826864 Mar 18 10:16 Miniconda3-latest-Linux-x86_64.sh drwxr-xr-x 57 comp comp 4096 Feb 11 13:24 Models drwxr-xr-x 3 comp comp 4096 Mar 17 08:43 orca drwxr-xr-x 41 comp comp 4096 Feb 2 13:02 Python Unfortunately, when I attemped running MMiniconda3-latest-Linux-x86_64.sh I got; in part: Miniconda3 will now be installed into this location: /home/comp/miniconda3 - Press ENTER to confirm the location - Press CTRL-C to abort the installation - Or specify a different location below [/home/comp/miniconda3] >>> /sdc1/Apps/miniconda3 PREFIX=/sdc1/Apps/miniconda3 installing: python-3.7.1-h0371630_7 ... Miniconda3-latest-Linux-x86_64.sh: 370: Miniconda3-latest-Linux-x86_64.sh: /sdc1/Apps/miniconda3/pkgs/python-3.7.1-h0371630_7/bin/python: Permission denied Even I can see that I have a permissions problem. Help addressing this problem will be greatly appreciated. Thanks in advance. -- Stephen P. Molnar, Ph.D. Consultant www.molecular-modeling.net (614)312-7528 (c) Skype: smolnar1
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Fstab Questions (Final time) "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-17 12:50 +0100
Re: Fstab Questions (Final time) john doe <johndoe65534@mail.com> - 2019-03-17 13:40 +0100
Re: Fstab Questions (Final time) Charlie Kravetz <charlie@keepingdreams.com> - 2019-03-17 13:50 +0100
Re: Fstab Questions (Final time) David Wright <deblis@lionunicorn.co.uk> - 2019-03-17 15:10 +0100
Re: Fstab Questions (Final time) David <bouncingcats@gmail.com> - 2019-03-17 22:50 +0100
Re: Fstab Questions (Final time) Greg Wooledge <wooledg@eeg.ccf.org> - 2019-03-18 13:40 +0100
Re: Fstab Questions (Final time) Dan Purgert <dan@djph.net> - 2019-03-18 14:10 +0100
Re: Fstab Questions (Final time) rhkramer@gmail.com - 2019-03-18 14:30 +0100
Re: Fstab Questions (Final time) Dan Purgert <dan@djph.net> - 2019-03-18 15:10 +0100
Re: Fstab Questions (Final time) "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-18 16:20 +0100
Re: Fstab Questions (Final time) Dan Ritter <dsr@randomstring.org> - 2019-03-18 16:40 +0100
Re: Fstab Questions (Final time) "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-18 19:40 +0100
Re: Fstab Questions (Final time) Dan Ritter <dsr@randomstring.org> - 2019-03-18 20:00 +0100
Re: Fstab Questions (Final time) "Stephen P. Molnar" <s.molnar@sbcglobal.net> - 2019-03-18 20:50 +0100
Re: Fstab Questions (Final time) rhkramer@gmail.com - 2019-03-18 16:40 +0100
Re: Fstab Questions (Final time) Michael Stone <mstone@debian.org> - 2019-03-18 15:00 +0100
Re: Fstab Questions (Final time) rhkramer@gmail.com - 2019-03-18 16:30 +0100
csiph-web