* Consequences of mount -c
@ 2016-06-24 10:55 Fergus
2016-06-24 12:54 ` Marco Atzeri
` (2 more replies)
0 siblings, 3 replies; 4+ messages in thread
From: Fergus @ 2016-06-24 10:55 UTC (permalink / raw)
To: Cygwin ML; +Cc: Fergus
I have set
/bin/mount -c "/"
in ~/.bashrc with many subsequent easements in use.
In /usr/share/fonts/microsoft/ there are unfortunately
multiple links referring to files in
/cygdrive/c/Windows/Fonts/; all broken.
Similarly in /etc/, several links pointing to files in
/cygdrive/c/Windows/System32/drivers/etc/; all broken.
I've only just noticed this. I don't much want to remove the mount -c instruction. Is there anything else that can be done to correct things?
Fergus
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Consequences of mount -c
2016-06-24 10:55 Consequences of mount -c Fergus
@ 2016-06-24 12:54 ` Marco Atzeri
2016-06-24 13:32 ` Achim Gratz
2016-06-25 6:21 ` Andrey Repin
2 siblings, 0 replies; 4+ messages in thread
From: Marco Atzeri @ 2016-06-24 12:54 UTC (permalink / raw)
To: cygwin
On 24/06/2016 11:52, Fergus wrote:
> I have set
> /bin/mount -c "/"
> in â~/.bashrc with many subsequent easements in use.
> In /usr/share/fonts/microsoft/ there are unfortunately
> multiple links referring to files in
> /cygdrive/c/Windows/Fonts/; all broken.
> Similarly inâ /etc/, several links pointing to files in
> /cygdrive/c/Windows/System32/drivers/etc/; all broken.
> I've only just noticed this. I don't much want to remove the mount -c instruction. Is there anything else that can be done to correct things?
> Fergusâ
> ââ
>
if you use mount in â~/.bashrc, it is too late for postinstall script
like
/etc/postinstall/zp_fontconfig_cache_1.sh
Use /etc/fstab
------------------------------------
# For a description of the file format, see the Users Guide
# http://cygwin.com/cygwin-ug-net/using.html#mount-table
none / cygdrive binary 0 0
------------------------------------
and run again
/etc/postinstall/zp_fontconfig_cache_1.sh
Regards
Marco
--
Problem reports: http://cygwin.com/problems.html
FAQ: http://cygwin.com/faq/
Documentation: http://cygwin.com/docs.html
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Consequences of mount -c
2016-06-24 10:55 Consequences of mount -c Fergus
2016-06-24 12:54 ` Marco Atzeri
@ 2016-06-24 13:32 ` Achim Gratz
2016-06-25 6:21 ` Andrey Repin
2 siblings, 0 replies; 4+ messages in thread
From: Achim Gratz @ 2016-06-24 13:32 UTC (permalink / raw)
To: cygwin
Fergus <fergus <at> bonhard.uklinux.net> writes:
> I have set
> /bin/mount -c "/"
> in ~/.bashrc with many subsequent easements in use.
> In /usr/share/fonts/microsoft/ there are unfortunately
> multiple links referring to files in
> /cygdrive/c/Windows/Fonts/; all broken.
> Similarly in /etc/, several links pointing to files in
> /cygdrive/c/Windows/System32/drivers/etc/; all broken.
> I've only just noticed this. I don't much want to remove the mount -c
instruction. Is there anything else
> that can be done to correct things?
These links should all go through /proc/cygdrive, really. However, the
option to make it so (-U) hasn't been in cygpath for very long, so it's not
used yet in the postinstall. The next release of base-files will use this
option, so the problems in /etc will be gowing away. The postinstall script
for fontconfig, xinit and WindowMaker should be treated similarly (there may
be others that I haven't on my system).
Regards,
Achim.
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Consequences of mount -c
2016-06-24 10:55 Consequences of mount -c Fergus
2016-06-24 12:54 ` Marco Atzeri
2016-06-24 13:32 ` Achim Gratz
@ 2016-06-25 6:21 ` Andrey Repin
2 siblings, 0 replies; 4+ messages in thread
From: Andrey Repin @ 2016-06-25 6:21 UTC (permalink / raw)
To: Fergus, cygwin
Greetings, Fergus!
> I have set
> /bin/mount -c "/"
> in ~/.bashrc with many subsequent easements in use.
Do that in /etc/fstab
The example is at the very top of it.
Uncomment and change the mount path as you see fit.
> In /usr/share/fonts/microsoft/ there are unfortunately
> multiple links referring to files in
> /cygdrive/c/Windows/Fonts/; all broken.
> Similarly in /etc/, several links pointing to files in
> /cygdrive/c/Windows/System32/drivers/etc/; all broken.
> I've only just noticed this. I don't much want to remove the mount -c
> instruction. Is there anything else that can be done to correct things?
If I understand it right, all you need is to re-run fontconfig after changing
the mount path.
--
With best regards,
Andrey Repin
Saturday, June 25, 2016 02:40:22
Sorry for my terrible english...
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-06-24 23:51 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-06-24 10:55 Consequences of mount -c Fergus
2016-06-24 12:54 ` Marco Atzeri
2016-06-24 13:32 ` Achim Gratz
2016-06-25 6:21 ` Andrey Repin
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).