Bug 3138

Summary: wrong default FAT mountpoint
Product: Mageia Reporter: Priscus <wizzard>
Component: InstallerAssignee: Mageia Bug Squad <bugsquad>
Status: RESOLVED OLD QA Contact:
Severity: minor    
Priority: Normal CC: marja11, thierry.vignaud
Version: CauldronKeywords: NEEDINFO
Target Milestone: Mageia 3   
Hardware: i586   
OS: Linux   
Whiteboard: (MGA2)
Source RPM: drakx-installer-stage2, drakxtools CVE:
Status comment:

Description Priscus 2011-10-22 16:07:42 CEST
During installation, drakx proposes to mount FAT partitions on /mnt/windows by default. This is true when creating a partition (personalized partitioning) or when mounting existing partitions (using existing partitions). 

The mountpoint should be under /media instead. This is a simple patch job. 

It may be slightly better to propose /media/<partition name>, but that would require slightly more work, for uncertain benefits (unnamed partitions and duplicate names). 

This behaviour has been true from Mandrake days through cauldron as of about two weeks ago (not checked today).
Comment 1 Manuel Hiebel 2011-10-26 18:49:03 CEST
Seems in this file: http://svnweb.mageia.org/soft/drakx/trunk/perl-install/fsedit.pm?revision=831&view=markup

Keywords: (none) => Junior_job
CC: (none) => thierry.vignaud
Source RPM: (none) => drakx-installer-stage2

Comment 2 Priscus 2011-10-27 01:04:20 CEST
So it is, with macos and sunos too. 
Thank you.
Comment 3 Marja Van Waes 2011-12-18 11:10:15 CET
I'm curious why it works well with NTFS-3G. (I'm not used to reading files like the one linked to by Manuel, so I look over the line responsible for treating FAT differently than NTFS-3G) In Mga 1, so with the last installer available when this report was filed, I got this for NTFS-3G

[marja@DenkBlok2 ~]$ df
Filesystem            Size  Used Avail Use% Mounted on
<snip>
/dev/sda8              39G  2,9G   36G   8% /media/WinLin
/dev/sda1             1,2G  714M  487M  60% /media/win_c
/dev/sda2              98G   49G   49G  50% /media/win_d


@ Priscus
Are you only talking about installer, or are you talking about diskdrake outside of installer too? 
From the Description:
> This behaviour has been true from Mandrake days through cauldron as of about
> two weeks ago (not checked today).
I get the impression you're talking about using diskdrake in an installed cauldron.
In diskdrake you can only choose /mnt/windows (still true today with updated cauldron), but you have to type /media/windows, if that is what you want.

CC: (none) => marja11
Source RPM: drakx-installer-stage2 => drakx-installer-stage2, drakxtools

Comment 4 Thierry Vignaud 2011-12-18 11:50:52 CET
I disagree, that would conflicts with media manager trying to mount a USB Key with 'windows' as label
Comment 5 Priscus 2011-12-18 11:55:08 CET
(In reply to comment #4)
> I disagree, that would conflicts with media manager trying to mount a USB Key
> with 'windows' as label

That's why I talked about uncertain benefits. 

Though it's always a bit funny to see diskdrake using /var as default for partitions named home or local. No real hassle.
Comment 6 Priscus 2011-12-18 12:05:27 CET
(In reply to comment #3)
> FAT differently than NTFS-3G) In Mga 1, so with the last installer available
> when this report was filed, I got this for NTFS-3G
> 
> [marja@DenkBlok2 ~]$ df
> Filesystem            Size  Used Avail Use% Mounted on
> <snip>
> /dev/sda8              39G  2,9G   36G   8% /media/WinLin
> /dev/sda1             1,2G  714M  487M  60% /media/win_c
> /dev/sda2              98G   49G   49G  50% /media/win_d

Strange. 
Diskdrake always proposed /mnt/windows by default at the time. 
I'm talking about clicking on a partition and configuring the mount point, not keeping the default: this one may be right, for all I know (have to check later). Default mount point proposed for FAT was /mnt/windows, where it should have been /media/windows (or whatever instead of windows, /media was the point). 

> @ Priscus
> Are you only talking about installer, or are you talking about diskdrake
> outside of installer too? 

I was talking about the installer: I did not think to check diskdrake from an installed system (I tend toward the vi solution to system management). 

> In diskdrake you can only choose /mnt/windows (still true today with updated
> cauldron), but you have to type /media/windows, if that is what you want.

I'll have to check again, more thoroughly.  
As far as "wanting" /media/windows, /mnt is _not_ supposed to be using as the start of the mount directories anymore, it hasn't been for some time (LFS3, I believe). 
All should go under /media by default, with /mnt as a specific choice "if that is what you want", if you'll allow me. 
Mageia 2 alpha 1 gave me the right default, I think. 
I'll check again this afternoon.
Comment 7 Marja Van Waes 2012-02-01 10:50:00 CET
(In reply to comment #6)

> Mageia 2 alpha 1 gave me the right default, I think. 
> I'll check again this afternoon.

Well, I recently installed Mga2a3 and Mageia 1 on systems with just one windows partition, and in both cases the mountpoint for that partition defaults to /media/windows

I used the DVD to install with.
Comment 8 Marja Van Waes 2012-05-26 13:06:30 CEST
Hi,

This bug was filed against cauldron, but we do not have cauldron at the moment.

Please report whether this bug is still valid for Mageia 2.

Thanks :)

Cheers,
marja

Keywords: (none) => NEEDINFO

Comment 9 Marja Van Waes 2012-06-11 20:28:45 CEST
@ Priscus

It is very important for us to know whether this bug is still valid for Mageia 2 or for *current* cauldron (so from after Mageia 2 was released).

Please tell us. If you don't reply, we'll have to close this bug as old.
Comment 10 Priscus 2012-06-11 23:46:55 CEST
(In reply to comment #9)
> 
> It is very important for us to know whether this bug is still valid for Mageia
> 2 or for *current* cauldron (so from after Mageia 2 was released).
> 
> Please tell us. If you don't reply, we'll have to close this bug as old.

Sorry, I've been busy, then out of the country for a few weeks. 
I'm just beginning to catch up. 
I'll be testing all my old bug reports on Wednesday evening.
Comment 11 Priscus 2012-06-13 22:38:20 CEST
Tested the installer tonight: the bug is still there. 

Just to refresh everyone's memory (my own included) and because my initial report was not clear enough: the problem is in the list of default mount points: one of them is /mnt/windows instead of /media/windows (the others are the usual /home, /var, /usr, /usr/local...)

This list appears when choosing a mount point for a partition during installation.
Marja Van Waes 2012-06-13 23:28:17 CEST

Keywords: NEEDINFO => (none)
Target Milestone: --- => Mageia 3
Whiteboard: (none) => (MGA2)

Comment 12 Dick Gevers 2014-11-16 09:33:23 CET
I am going to guess this is unfixed in m5 but cannot test as I dont have windows.

Anyone who can, please check and set whiteboard as: 5beta1; alternatively please close.

{ By the way, if junior jobs are not assigned to or picked up by anyone, the keyword seems rather useless }

Keywords: (none) => NEEDINFO

Comment 13 Marja Van Waes 2014-11-16 09:57:39 CET
Wrt "junior job", no padawan will make a change to diskdrake after reading that tv had a good reason to think that change was a bad idea. The "junior job" label should have been removed.

For the rest:
I can't imagine anyone still has a supported windows version installed on FAT partitions, except for the EFI bootloader partition. The partition for the EFI bootloader will be mounted differently.

So closing this bug as old. Feel free to reopen and explain if I'm wrong

Keywords: Junior_job => (none)
Status: NEW => RESOLVED
Resolution: (none) => OLD