LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices


Reply
  Search this Thread
Old 07-12-2014, 02:28 PM   #1
luvr
Member
 
Registered: May 2005
Location: Boom - The Home Town of Tomorrowland, Belgium
Distribution: Slackware, Xubuntu
Posts: 459
Blog Entries: 2

Rep: Reputation: 194Reputation: 194
Slackware 14.1 Install: Cosmetic Issue while adding DOS Partitions to /etc/fstab


The Slackware 14.1 installation process appears to show a cosmetic error when FAT or NTFS partitions are being selected for addition to /etc/fstab.

The sequence of steps goes like this:
  1. The installer asks you to “SELECT PARTITION TO ADD TO /etc/fstab”, and displays the list of FAT and NTFS partitions that it found on the system.
  2. When you pick a partition, the installer asks you to “SET SECURITY FOR type PARTITION partition” (where “type” is either FAT or NTFS, and I guess that “partition” is supposed to represent the selected partition).
  3. Next, the installer asks you to “PICK MOUNT POINT FOR partition” (where “partition” represents the partition that you selected in Step 1).

The problem is, in Step 2, “partition” is replaced by the value of the “NEW_DIR” variable (cfr. the “SeTDOS” script: lines 21, 22, 26 for NTFS; lines 44,45, 49 for FAT). However, the “NEW_DIR” variable is set to the mount point that the user specifies in Step 3—i.e., not until after it is displayed.

As a consequence, when the user selects the first DOS partition, the “NEW_DIR” variable is still empty; when the user selects the second DOS partition, it displays the mount point specified for the first one; etc.

The values that get written to the /etc/fstab file are actually correct, though—it's just the display that is wrong. It seems to me, that the correct value to display is in the “DOS_PART” variable instead.
 
Old 07-22-2014, 09:26 PM   #2
Andy Alt
Member
 
Registered: Jun 2004
Location: Minnesota, USA
Distribution: Slackware64-stable, Manjaro, Debian64 stable
Posts: 528

Rep: Reputation: 167Reputation: 167
Is there any confirmation that the install script needs some touching up? (bump)
 
Old 07-23-2014, 05:08 PM   #3
volkerdi
Slackware Maintainer
 
Registered: Dec 2002
Location: Minnesota
Distribution: Slackware! :-)
Posts: 2,714

Rep: Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942Reputation: 8942
Looks like a correct change, so I'm going to make it along with the next kernel update. Let me know if it works (or not).
 
1 members found this post helpful.
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
qca-* build scripts, some minor (cosmetic) issue a4z Slackware 0 01-31-2013 08:44 PM
Question about mdadm and adding partitions to RAID1 post-install paveway Linux - Software 1 07-20-2012 08:24 AM
Adding partitions to fstab and mtab PipeDreams Mandriva 9 01-31-2006 08:04 PM
fstab DOS write noir911 *BSD 5 08-06-2004 11:23 AM
Fstab and Dos Sylhouette Linux - Software 4 12-12-2001 01:40 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware

All times are GMT -5. The time now is 05:23 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration